<%# Link to the "Next" page
  - available local variables
    url:           url to the next page
    current_page:  a page object for the currently displayed page
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<% if current_page.last? -%>
  <span class="next_page disabled">
    <%= render_icon("arrow-right-s") %>
  </span>
<% else -%>
  <sl-tooltip content="<%= Alchemy.t(:next_page, scope: 'pagination') %>" placement="top-end">
    <%= link_to url, rel: 'next', remote: remote, class: 'next_page' do %>
      <%= render_icon("arrow-right-s") %>
    <% end %>
  </sl-tooltip>
<% end -%>
